package com.tengju.user.domain.model.staff;


import lombok.Data;

import java.time.LocalDate;

/**
 * 客情统计客情记录数
 *
 * @Author: 李大仙
 * @Date: 2021/4/22 5:38 下午
 */
@Data
public class StaffSentimentCount {

    private Long ssoUserId;

    private LocalDate day;

    private Integer customerCount;

    private Integer sentimentCount;

    private StaffSentimentCount() {
    }

    private StaffSentimentCount(Long ssoUserId, LocalDate day, Integer customerCount, Integer sentimentCount) {
        this.ssoUserId = ssoUserId;
        this.day = day;
        this.customerCount = customerCount;
        this.sentimentCount = sentimentCount;
    }

    public static StaffSentimentCount of(Long ssoUserId, LocalDate day, Integer customerCount, Integer sentimentCount) {
        return new StaffSentimentCount(ssoUserId, day, customerCount, sentimentCount);
    }
}
